package com.gdou.teaching.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.gdou.teaching.dto.UserDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author carrymaniac
 * @date Created in 22:21 2019-08-14
 * @description 班级类的VO，里面带了所有的学生信息
 **/
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel
public class ClazzVO {
        @ApiModelProperty(value = "班级ID")
        private Integer classId;
        @ApiModelProperty(value = "班级名称")
        private String className;
        @ApiModelProperty(value = "班级状态",example = "1(正常)")
        private Integer classStatus;
        @ApiModelProperty(value = "学生列表")
        private List<UserDTO> userList;
}
